尝试了几次后,现在直接gazebo直接卡在启动界面了,日志也和之前有一些不一样
chen@chen-virtual-machine:~/Program/test_car/test_car_ws$ colcon build Starting >>> car_description Finished <<< car_description [0.14s] Summary: 1 package finished [0.41s] chen@chen-virtual-machine:~/Program/test_car/test_car_ws$ sourec install/setup.bash sourec:未找到命令 chen@chen-virtual-machine:~/Program/test_car/test_car_ws$ source install/setup.bash chen@chen-virtual-machine:~/Program/test_car/test_car_ws$ ros2 launch car_description gazebo_sim.launch.py [INFO] [launch]: All log files can be found below /home/chen/.ros/log/2025-03-03-17-59-07-717052-chen-virtual-machine-3873 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [robot_state_publisher-1]: process started with pid [3875] [INFO] [gzserver-2]: process started with pid [3877] [INFO] [gzclient-3]: process started with pid [3879] [INFO] [spawn_entity.py-4]: process started with pid [3881] [INFO] [joint_state_publisher-5]: process started with pid [3883] [robot_state_publisher-1] [INFO] [1740995948.251949005] [robot_state_publisher]: got segment base_footprint_link [robot_state_publisher-1] [INFO] [1740995948.252182270] [robot_state_publisher]: got segment base_link [robot_state_publisher-1] [INFO] [1740995948.252193030] [robot_state_publisher]: got segment base_up_link [robot_state_publisher-1] [INFO] [1740995948.252199152] [robot_state_publisher]: got segment camera_link [robot_state_publisher-1] [INFO] [1740995948.252204201] [robot_state_publisher]: got segment camera_optical_link [robot_state_publisher-1] [INFO] [1740995948.252208950] [robot_state_publisher]: got segment holderfirst_link [robot_state_publisher-1] [INFO] [1740995948.252213339] [robot_state_publisher]: got segment holderfourth_link [robot_state_publisher-1] [INFO] [1740995948.252217807] [robot_state_publisher]: got segment holdersecond_link [robot_state_publisher-1] [INFO] [1740995948.252222276] [robot_state_publisher]: got segment holderthird_link [robot_state_publisher-1] [INFO] [1740995948.252226634] [robot_state_publisher]: got segment imu_link [robot_state_publisher-1] [INFO] [1740995948.252231133] [robot_state_publisher]: got segment laser_link [robot_state_publisher-1] [INFO] [1740995948.252235581] [robot_state_publisher]: got segment left_passivewheel_link [robot_state_publisher-1] [INFO] [1740995948.252240491] [robot_state_publisher]: got segment left_wheel_link [robot_state_publisher-1] [INFO] [1740995948.252245310] [robot_state_publisher]: got segment right_passivewheel_link [robot_state_publisher-1] [INFO] [1740995948.252249748] [robot_state_publisher]: got segment right_wheel_link [robot_state_publisher-1] [INFO] [1740995948.252254016] [robot_state_publisher]: got segment trackleft_link [robot_state_publisher-1] [INFO] [1740995948.252258305] [robot_state_publisher]: got segment trackright_link [gzclient-3] Gazebo multi-robot simulator, version 11.10.2 [gzclient-3] Copyright (C) 2012 Open Source Robotics Foundation. [gzclient-3] Released under the Apache 2 License. [gzclient-3] http://gazebosim.org [gzclient-3] [joint_state_publisher-5] [INFO] [1740995948.506909023] [joint_state_publisher]: Waiting for robot_description to be published on the robot_description topic... [gzserver-2] Gazebo multi-robot simulator, version 11.10.2 [gzserver-2] Copyright (C) 2012 Open Source Robotics Foundation. [gzserver-2] Released under the Apache 2 License. [gzserver-2] http://gazebosim.org [gzserver-2] [spawn_entity.py-4] [INFO] [1740995948.620220423] [spawn_entity]: Spawn Entity started [spawn_entity.py-4] [INFO] [1740995948.622548963] [spawn_entity]: Loading entity published on topic /robot_description [spawn_entity.py-4] /opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/qos.py:307: UserWarning: DurabilityPolicy.RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL is deprecated. Use DurabilityPolicy.TRANSIENT_LOCAL instead. [spawn_entity.py-4] warnings.warn( [spawn_entity.py-4] [INFO] [1740995948.627491577] [spawn_entity]: Waiting for entity xml on /robot_description [spawn_entity.py-4] [INFO] [1740995948.644838611] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30 [spawn_entity.py-4] [INFO] [1740995948.645381787] [spawn_entity]: Waiting for service /spawn_entity [spawn_entity.py-4] [INFO] [1740995949.403105183] [spawn_entity]: Calling service /spawn_entity [gzclient-3] [Msg] Waiting for master. [gzclient-3] [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [gzclient-3] [Msg] Publicized address: 192.168.142.134 [gzclient-3] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/chen/Program/test_car/test_car_ws/install/car_description/share/ament_index" [gzclient-3] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/chen/Program/test_car/test_car_ws/install/car_description/share/car_description" [gzclient-3] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/chen/Program/test_car/test_car_ws/install/car_description/share/colcon-core" [gzserver-2] [INFO] [1740995950.186192323] [depth_camera]: Publishing camera info to [/camera_sensor/camera_info] [gzserver-2] [INFO] [1740995950.187911694] [depth_camera]: Publishing depth camera info to [/camera_sensor/depth/camera_info] [gzserver-2] [INFO] [1740995950.189006163] [depth_camera]: Publishing pointcloud to [/camera_sensor/points] [gzclient-3] [Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call [spawn_entity.py-4] [INFO] [1740995950.305917939] [spawn_entity]: Spawn status: SpawnEntity: Successfully spawned entity [track_car] [INFO] [spawn_entity.py-4]: process has finished cleanly [pid 3881] [gzclient-3] [Err] [Connection.cc:547] Connection[17] Closed during Read [gzclient-3] [Err] [TransportIface.cc:385] Unable to read from master [ERROR] [gzserver-2]: process has died [pid 3877, exit code -11, cmd 'gzserver /home/chen/Program/test_car/test_car_ws/install/car_description/share/car_description/world/custom_room.world --verbose -slibgazebo_ros_init.so -slibgazebo_ros_factory.so -slibgazebo_ros_force_system.so']. [gzclient-3] [Err] [GLWidget.cc:900] Unable to connect to a running Gazebo master. [gzclient-3] [Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once. ^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT) [robot_state_publisher-1] [INFO] [1740996081.753914506] [rclcpp]: signal_handler(signum=2) [gzclient-3] [Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call [INFO] [robot_state_publisher-1]: process has finished cleanly [pid 3875] [INFO] [joint_state_publisher-5]: process has finished cleanly [pid 3883] [INFO] [gzclient-3]: process has finished cleanly [pid 3879] [gzclient-3] [gzclient-3]但是一移除激光雷达插件又能正常启动